SC_removeObject
SYNTAX
SC_removeObject objNum
-objNum: the object you want to remove
Will remove an object from the collision system, all it's collision data will be deleted.
The object may or may not exist in Darkbasic. The system won't check.
The object can be setup again if it is required.
Also, setupObject can be sucessfully called on an existing object instead, doing so
will overwrite any stored collision data with the new object's data and reset collision to ON
and scaling to False. The only drawback is re-settingup a complex/polygon object may take time.
RELATED INFO
Collision Commands Menu
Index